Blazor | ComponentOne
C1.DataCollection Assembly / C1.DataCollection Namespace / C1SelectDataCollection<S,T> Class / ReplaceAsync Method / ReplaceAsync(Int32,S,CancellationToken) Method

In This Topic
    ReplaceAsync(Int32,S,CancellationToken) Method
    In This Topic
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Function ReplaceAsync( _
       ByVal index As Integer, _
       ByVal item As S, _
       Optional ByVal cancellationToken As CancellationToken _
    ) As Task(Of Integer)
    public virtual Task<int> ReplaceAsync( 
       int index,
       S item,
       CancellationToken cancellationToken
    )

    Parameters

    index
    item
    cancellationToken
    See Also